package com.woniuxy.buyer.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/products")
public class testController {
    @GetMapping("/online")
    public String getOnlineProducts() {
        return "online products";
    }

@GetMapping("/online1")
    public String getOnlineProducts1() {
        return "online products";
    }
}
